/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package customTags;

/**
 *
 * @author ToanNhan
 */
public class PageParameter {
    private String content;
    private boolean direct;

    /**
     * @return the content
     */
    public String getContent() {
        return content;
    }

    /**
     * @param content the content to set
     */
    public void setContent(String content) {
        this.content = content;
    }

    /**
     * @return the direct
     */
    public boolean isDirect() {
        return direct;
    }

    /**
     * @param direct the direct to set
     */
    public void setDirect(boolean direct) {
        this.direct = direct;
    }

    public PageParameter(){
        direct = true;
        content = "";
    }

    public PageParameter(String content, boolean direct){
        this.direct = direct;
        this.content = content;
    }

    public PageParameter(PageParameter pp){
        direct = pp.direct;
        content = pp.content;
    }
}
